/* —————— 首页路由表 —————— */
import React from 'react'
import LazyLoad from '@/utils/higherOrderFun' /// 懒加载组件；

export default [
  {
    path: '/',
    meta: {
      title: '总布局'
    },
    element: LazyLoad(React.lazy(() => import('@/Layout'))),
    children: [
      {
        index: true,
        meta: {
          title: '首页'
        },
        element: LazyLoad(React.lazy(() => import('@/pages/Home')))
      }
    ]
  }
]
